<template>
	<view class="container">
		<rich-text :nodes="sys" class="introduction"></rich-text>
	</view>
</template>

<script>
	var app = getApp();
	import http from "@/common/js/request.js";
	export default {
		data() {
			return {
				sys:""
			}
		},
		onLoad() {
			this.systemInfo();
		},
		methods: {
			//获取我的冠名列表
			systemInfo() {
				//console.log("skldjflksjf")
				var that = this;
				http.post("/api/v1/common/system",{},function(res){
					console.log(res)
					that.sys=res.datas.introduction.replace(/\<img/gi, '<img style="max-width:100%;height:auto"')
				})
				
			},
			
		}
	}
</script>

<style>

	.introduction{
		padding: 20rpx;
	}
	.introduction image{
		width: 100%;
	}
</style>
